#pragma once
#include"Box2D/Common/b2Math.h"

class b2Body;

class BallMover
{
public:
	BallMover(b2Body* ball);
	~BallMover();

	void update();
	
	void onKeyDown(int keyCode);

	void onKeyUp(int KeyCode);

	bool isReadyJump = true;
private:
	b2Body * ball;

	b2Vec2 speed;
	float torque;

	bool isMove = false;
};
